(locate-library): Doc fix. (Bug#2291)
authorEli Zaretskii <eliz@gnu.org>
Fri, 13 Feb 2009 15:14:57 +0000 (15:14 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 13 Feb 2009 15:14:57 +0000 (15:14 +0000)
lisp/subr.el

index 42447a4c28b7395d284777639b709274611672ba..bf27605b02ce2535ceb6365a25d0f7164f324e61 100644 (file)
@@ -1501,6 +1501,9 @@ definition, variable definition, or face definition only."
 
 (defun locate-library (library &optional nosuffix path interactive-call)
   "Show the precise file name of Emacs library LIBRARY.
+LIBRARY should be a relative file name of the library, a string.
+It can omit the suffix (a.k.a. file-name extension) if NOSUFFIX is
+nil (which is the default, see below).
 This command searches the directories in `load-path' like `\\[load-library]'
 to find the file that `\\[load-library] RET LIBRARY RET' would load.
 Optional second arg NOSUFFIX non-nil means don't add suffixes `load-suffixes'